#ifndef _DEV_MANAGER_H_
#define _DEV_MANAGER_H_
#include "system.h"
#include "gxhtc3.h"
#include "bh1750.h"
#include "hw080.h"
#include "sgp30.h"
#include "led.h"
#include "OLED.h"
#include "Motor.h"
#include "waterpump.h"
#include "Servo.h"
#include "Uart.h"
#include "Rtc.h"
#include "w25qxx.h"
#include "SNR9816.h"
#include "adc.h"
#include "config.h"
#include "esp8266.h"
#include "db.h"
// void deviceRegister(void);
// void deviceInit(void);
void deviceGetAllData(T_DATA *data);
typedef void(*pDeviceRegister)(void);
typedef void(*pDeviceInit)(void);
typedef void(*pDeviceGetAllData)(T_DATA *);
typedef struct{
    pDeviceRegister PdeviceRegister;
    pDeviceInit PdeviceInit;
    pDeviceGetAllData PdeviceGetAllData;
}device_t;
device_t *deviceCreate(void);
#endif

